package com.xuetang9.dto.sn;

import lombok.Data;

/**
 * @类: MessageDTO
 * @描述: 反馈信息对象
 * @date: 2020/5/16
 * @author: Admin
 * @ver 1.0.0
 * @since JDK 1.8
 */
@Data
public class MessageDTO {

    /**
     * 状态，是否成功；true成功
     */
    private Boolean flag;

    /**
     * 反馈信息
     */
    private String message;

    /**
     * 令牌
     */
    private String token;

    /**
     * 状态码
     */
    private Integer code;

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
